home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1999 March
/
EnigmA AMIGA RUN 35 (1999)(G.R. Edizioni)(IT)[!][issue 1999-03].iso
/
earcd
/
-archivi
/
-recent2
/
anim2gif.lha
/
Anim2gif
/
SmartScale.doc
< prev
next >
Wrap
Text File
|
1999-03-17
|
902b
|
27 lines
Smart scale v1.0 (c) 1996 Lorence Lombardo.
WHAT THE F_CK IS SMARTSCALE ?
SmartScale is a little program i wrote intended for picture conversion script
files. It has 3 output modes. Con, env & ask.
It will look at a picture or animation and tell you the dimensions of
that picture and output the information to the con or env.
If you enter x & y scale args, the args will be recalculated & output'd in order
to keep the aspect ratio of the picture or animation the same.
If you use the ask mode you will be asked to enter an X & Y scale. Ideal for
script files.
Usage:
SmartScale [con/env/ask] [file name] [x scale] [y scale] [u]
eg. SmartScale env pic.iff 640 200
ENV outputs:
XIN & YIN input size of picture
XINh half of input XIN
DIN depth of picture
XOUT & YOUT calculated size of picture within the [x & y scale] args
while still maintaining the correct aspect ratio.